from django.db import models

# Create your models here.

#模型
class Article(models.Model):
    article_id = models.AutoField(primary_key=True)

    title = models.TextField()

    brief_content = models.TextField()

    content = models.TextField()

    publish_date = models.DateTimeField(auto_now=True)

    def __str__(self):
        return self.title